<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        
        
        
        <link rel="shortcut icon" href="../img/favicon.ico">
        <title>首页 - 回眸</title>
        <link href="../css/bootstrap.min.css" rel="stylesheet">
        <link href="../css/font-awesome.min.css" rel="stylesheet">
        <link href="../css/base.css" rel="stylesheet">
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/github.min.css">

        <script src="../js/jquery-1.10.2.min.js" defer></script>
        <script src="../js/bootstrap.min.js" defer></script>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
        <script>hljs.initHighlightingOnLoad();</script> 
    </head>

    <body>
        <div class="navbar fixed-top navbar-expand-lg navbar-dark bg-primary">
            <div class="container">
                <a class="navbar-brand" href="..">回眸</a>
                <!-- Expander button -->
                <button type="button" class="navbar-toggler" data-toggle="collapse" data-target="#navbar-collapse">
                    <span class="navbar-toggler-icon"></span>
                </button>

                <!-- Expanded navigation -->
                <div id="navbar-collapse" class="navbar-collapse collapse">
                        <!-- Main navigation -->
                        <ul class="nav navbar-nav">
                            <li class="navitem">
                                <a href=".." class="nav-link">首页</a>
                            </li>
                            <li class="dropdown">
                                <a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">用户 <b class="caret"></b></a>
                                <ul class="dropdown-menu">
                                    
<li>
    <a href="../user/user/" class="dropdown-item">Main</a>
</li>
                                </ul>
                            </li>
                            <li class="dropdown active">
                                <a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">回眸 <b class="caret"></b></a>
                                <ul class="dropdown-menu">
                                    
<li>
    <a href="./" class="dropdown-item active">首页</a>
</li>
                                    
<li>
    <a href="note/" class="dropdown-item">留言</a>
</li>
                                    
<li>
    <a href="like/" class="dropdown-item">喜欢</a>
</li>
                                    
<li>
    <a href="my/" class="dropdown-item">我的</a>
</li>
                                    
<li>
    <a href="im/" class="dropdown-item">消息</a>
</li>
                                    
<li>
    <a href="report/" class="dropdown-item">举报</a>
</li>
                                    
<li>
    <a href="cover/" class="dropdown-item">封面</a>
</li>
                                    
<li>
    <a href="group/" class="dropdown-item">群组</a>
</li>
                                    
<li>
    <a href="boss/" class="dropdown-item">Boss</a>
</li>
                                    
<li>
    <a href="store/" class="dropdown-item">小商店</a>
</li>
                                    
<li>
    <a href="address/" class="dropdown-item">地址</a>
</li>
                                    
<li>
    <a href="live/" class="dropdown-item">对讲</a>
</li>
                                    
<li>
    <a href="video/" class="dropdown-item">白噪音</a>
</li>
                                    
<li>
    <a href="talk/" class="dropdown-item">直播</a>
</li>
                                    
<li>
    <a href="screen/" class="dropdown-item">共享屏幕</a>
</li>
                                </ul>
                            </li>
                        </ul>

                    <ul class="nav navbar-nav ml-auto">
                        <li class="nav-item">
                            <a href="#" class="nav-link" data-toggle="modal" data-target="#mkdocs_search_modal">
                                <i class="fa fa-search"></i> Search
                            </a>
                        </li>
                            <li class="nav-item">
                                <a rel="prev" href="../user/user/" class="nav-link">
                                    <i class="fa fa-arrow-left"></i> Previous
                                </a>
                            </li>
                            <li class="nav-item">
                                <a rel="next" href="note/" class="nav-link">
                                    Next <i class="fa fa-arrow-right"></i>
                                </a>
                            </li>
                    </ul>
                </div>
            </div>
        </div>

        <div class="container">
            <div class="row">
                    <div class="col-md-3"><div class="navbar-light navbar-expand-md bs-sidebar hidden-print affix" role="complementary">
    <div class="navbar-header">
        <button type="button" class="navbar-toggler collapsed" data-toggle="collapse" data-target="#toc-collapse" title="Table of Contents">
            <span class="fa fa-angle-down"></span>
        </button>
    </div>

    
    <div id="toc-collapse" class="navbar-collapse collapse card bg-secondary">
        <ul class="nav flex-column">
            
            <li class="nav-item" data-level="1"><a href="#_1" class="nav-link">首页接口文档</a>
              <ul class="nav flex-column">
            <li class="nav-item" data-level="2"><a href="#_2" class="nav-link">修订记录</a>
              <ul class="nav flex-column">
              </ul>
            </li>
            <li class="nav-item" data-level="2"><a href="#_3" class="nav-link">背景</a>
              <ul class="nav flex-column">
              </ul>
            </li>
            <li class="nav-item" data-level="2"><a href="#_4" class="nav-link">产品说明</a>
              <ul class="nav flex-column">
              </ul>
            </li>
            <li class="nav-item" data-level="2"><a href="#_5" class="nav-link">关键流程说明</a>
              <ul class="nav flex-column">
              </ul>
            </li>
            <li class="nav-item" data-level="2"><a href="#_6" class="nav-link">接口说明</a>
              <ul class="nav flex-column">
              </ul>
            </li>
              </ul>
            </li>
        </ul>
    </div>
</div></div>
                    <div class="col-md-9" role="main">

<h1 id="_1">首页接口文档</h1>
<div class="toc">
<ul>
<li><a href="#_1">首页接口文档</a><ul>
<li><a href="#_2">修订记录</a></li>
<li><a href="#_3">背景</a></li>
<li><a href="#_4">产品说明</a></li>
<li><a href="#_5">关键流程说明</a></li>
<li><a href="#_6">接口说明</a><ul>
<li><a href="#10">1.0 获取就近空间数据</a><ul>
<li><a href="#_7">接口说明</a></li>
<li><a href="#_8">请求说明</a></li>
<li><a href="#_9">输入参数</a></li>
<li><a href="#_10">错误说明</a></li>
<li><a href="#_11">返回实例</a></li>
</ul>
</li>
<li><a href="#101">1.0.1 空间详情</a><ul>
<li><a href="#_12">接口说明</a></li>
<li><a href="#_13">请求说明</a></li>
<li><a href="#_14">输入参数</a></li>
<li><a href="#_15">错误说明</a></li>
<li><a href="#_16">返回实例</a></li>
</ul>
</li>
<li><a href="#11">1.1 签到</a><ul>
<li><a href="#_17">接口说明</a></li>
<li><a href="#_18">请求说明</a></li>
<li><a href="#_19">输入参数</a></li>
<li><a href="#_20">错误说明</a></li>
<li><a href="#_21">返回实例</a></li>
</ul>
</li>
<li><a href="#12">1.2 离开</a><ul>
<li><a href="#_22">接口说明</a></li>
<li><a href="#_23">请求说明</a></li>
<li><a href="#_24">输入参数</a></li>
<li><a href="#_25">错误说明</a></li>
<li><a href="#_26">返回实例</a></li>
</ul>
</li>
<li><a href="#13">1.3 分页获空间详情数据</a><ul>
<li><a href="#_27">接口说明</a></li>
<li><a href="#_28">请求说明</a></li>
<li><a href="#_29">输入参数</a></li>
<li><a href="#_30">错误说明</a></li>
<li><a href="#_31">返回实例</a></li>
</ul>
</li>
<li><a href="#14">1.4 用户详细信息</a><ul>
<li><a href="#_32">接口说明</a></li>
<li><a href="#_33">请求说明</a></li>
<li><a href="#_34">输入参数</a></li>
<li><a href="#_35">错误说明</a></li>
<li><a href="#_36">返回实例</a></li>
</ul>
</li>
<li><a href="#141">1.4.1  设置用户角色</a><ul>
<li><a href="#_37">接口说明</a></li>
<li><a href="#_38">请求说明</a></li>
<li><a href="#_39">输入参数</a></li>
<li><a href="#_40">错误说明</a></li>
<li><a href="#_41">返回实例</a></li>
</ul>
</li>
<li><a href="#142">1.4.2  移除角色</a><ul>
<li><a href="#_42">接口说明</a></li>
<li><a href="#_43">请求说明</a></li>
<li><a href="#_44">输入参数</a></li>
<li><a href="#_45">错误说明</a></li>
<li><a href="#_46">返回实例</a></li>
</ul>
</li>
<li><a href="#143">1.4.3  添加主页房间</a><ul>
<li><a href="#_47">接口说明</a></li>
<li><a href="#_48">请求说明</a></li>
<li><a href="#_49">输入参数</a></li>
<li><a href="#_50">错误说明</a></li>
<li><a href="#_51">返回实例</a></li>
</ul>
</li>
<li><a href="#142_1">1.4.2  分页获取主页房间</a><ul>
<li><a href="#_52">接口说明</a></li>
<li><a href="#_53">请求说明</a></li>
<li><a href="#_54">输入参数</a></li>
<li><a href="#_55">错误说明</a></li>
<li><a href="#_56">返回实例</a></li>
</ul>
</li>
<li><a href="#143_1">1.4.3  删除主页</a><ul>
<li><a href="#_57">接口说明</a></li>
<li><a href="#_58">请求说明</a></li>
<li><a href="#_59">输入参数</a></li>
<li><a href="#_60">错误说明</a></li>
<li><a href="#_61">返回实例</a></li>
</ul>
</li>
<li><a href="#144">1.4.4  我创建的空间</a><ul>
<li><a href="#_62">接口说明</a></li>
<li><a href="#_63">请求说明</a></li>
<li><a href="#_64">输入参数</a></li>
<li><a href="#_65">错误说明</a></li>
<li><a href="#_66">返回实例</a></li>
</ul>
</li>
<li><a href="#15">1.5 弹幕</a><ul>
<li><a href="#_67">接口说明</a></li>
<li><a href="#_68">请求说明</a></li>
<li><a href="#_69">输入参数</a></li>
<li><a href="#_70">错误说明</a></li>
<li><a href="#_71">返回实例</a></li>
</ul>
</li>
<li><a href="#16">1.6 弹幕列表</a><ul>
<li><a href="#_72">接口说明</a></li>
<li><a href="#_73">请求说明</a></li>
<li><a href="#_74">输入参数</a></li>
<li><a href="#_75">错误说明</a></li>
<li><a href="#_76">返回实例</a></li>
</ul>
</li>
<li><a href="#16_1">1.6 广告弹幕列表</a><ul>
<li><a href="#_77">接口说明</a></li>
<li><a href="#_78">请求说明</a></li>
<li><a href="#_79">输入参数</a></li>
<li><a href="#_80">错误说明</a></li>
<li><a href="#_81">返回实例</a></li>
</ul>
</li>
<li><a href="#17">1.7 更新弹幕</a><ul>
<li><a href="#_82">接口说明</a></li>
<li><a href="#_83">请求说明</a></li>
<li><a href="#_84">输入参数</a></li>
<li><a href="#_85">错误说明</a></li>
<li><a href="#_86">返回实例</a></li>
</ul>
</li>
<li><a href="#18">1.8 删除弹幕</a><ul>
<li><a href="#_87">接口说明</a></li>
<li><a href="#_88">请求说明</a></li>
<li><a href="#_89">输入参数</a></li>
<li><a href="#_90">错误说明</a></li>
<li><a href="#_91">返回实例</a></li>
</ul>
</li>
<li><a href="#17-code">1.7 获取邀请CODE（测试用）</a><ul>
<li><a href="#_92">接口说明</a></li>
<li><a href="#_93">请求说明</a></li>
<li><a href="#_94">输入参数</a></li>
<li><a href="#_95">错误说明</a></li>
<li><a href="#_96">返回实例</a></li>
</ul>
</li>
<li><a href="#18-code">1.8 根据Code 获取房间信息</a><ul>
<li><a href="#_97">接口说明</a></li>
<li><a href="#_98">请求说明</a></li>
<li><a href="#_99">输入参数</a></li>
<li><a href="#_100">错误说明</a></li>
<li><a href="#_101">返回实例</a></li>
</ul>
</li>
<li><a href="#19">1.9 收藏空间</a><ul>
<li><a href="#_102">接口说明</a></li>
<li><a href="#_103">请求说明</a></li>
<li><a href="#_104">输入参数</a></li>
<li><a href="#_105">错误说明</a></li>
<li><a href="#_106">返回实例</a></li>
</ul>
</li>
<li><a href="#110">1.10 取消收藏空间</a><ul>
<li><a href="#_107">接口说明</a></li>
<li><a href="#_108">请求说明</a></li>
<li><a href="#_109">输入参数</a></li>
<li><a href="#_110">错误说明</a></li>
<li><a href="#_111">返回实例</a></li>
</ul>
</li>
<li><a href="#111">1.11 设置家乡</a><ul>
<li><a href="#_112">接口说明</a></li>
<li><a href="#_113">请求说明</a></li>
<li><a href="#_114">输入参数</a></li>
<li><a href="#_115">错误说明</a></li>
<li><a href="#_116">返回实例</a></li>
</ul>
</li>
<li><a href="#112">1.12 陪伴灯</a><ul>
<li><a href="#_117">接口说明</a></li>
<li><a href="#_118">请求说明</a></li>
<li><a href="#_119">输入参数</a></li>
<li><a href="#_120">错误说明</a></li>
<li><a href="#_121">返回实例</a></li>
</ul>
</li>
<li><a href="#113">1.13 首页提醒</a><ul>
<li><a href="#_122">接口说明</a></li>
<li><a href="#_123">请求说明</a></li>
<li><a href="#_124">输入参数</a></li>
<li><a href="#_125">错误说明</a></li>
<li><a href="#_126">返回实例</a></li>
</ul>
</li>
<li><a href="#114">1.14 连锁空间列表</a><ul>
<li><a href="#_127">接口说明</a></li>
<li><a href="#_128">请求说明</a></li>
<li><a href="#_129">输入参数</a></li>
<li><a href="#_130">错误说明</a></li>
<li><a href="#_131">返回实例</a></li>
</ul>
</li>
<li><a href="#115">1.15 创建空间</a><ul>
<li><a href="#_132">接口说明</a></li>
<li><a href="#_133">请求说明</a></li>
<li><a href="#_134">输入参数</a></li>
<li><a href="#_135">错误说明</a></li>
<li><a href="#_136">返回实例</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<h2 id="_2">修订记录</h2>
<hr />
<table>
<thead>
<tr>
<th>日期</th>
<th>作者</th>
<th>修订类型</th>
<th>修订内容</th>
<th>版本</th>
</tr>
</thead>
<tbody>
<tr>
<td>2020年07月03日</td>
<td>冷立纲</td>
<td>A</td>
<td>新增设计方案</td>
<td>1.0</td>
</tr>
</tbody>
</table>
<blockquote>
<p>【修订类型：A-新增  M-修改 D-删除】</p>
</blockquote>
<h2 id="_3">背景</h2>
<p>获取就近空间数据</p>
<h2 id="_4">产品说明</h2>
<h2 id="_5">关键流程说明</h2>
<h2 id="_6">接口说明</h2>
<h4 id="10">1.0 获取就近空间数据</h4>
<h5 id="_7">接口说明</h5>
<p>获取就近空间数据</p>
<h5 id="_8">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">post</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/room/index</td>
</tr>
</tbody>
</table>
<h5 id="_9">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">longtitude</td>
<td align="center">是</td>
<td align="left">double</td>
<td align="left">经度</td>
<td align="left">最多小数点后6位</td>
</tr>
<tr>
<td align="left">latitude</td>
<td align="center">是</td>
<td align="left">double</td>
<td align="left">纬度</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">keywords</td>
<td align="center">否</td>
<td align="left">string</td>
<td align="left">关键词</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">limit</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">单页条数</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">page</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">当前页</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">type</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">类型</td>
<td align="left">0 地理位置 1 虚拟空间</td>
</tr>
</tbody>
</table>
<h5 id="_10">错误说明</h5>
<h5 id="_11">返回实例</h5>
<pre><code class="json">
{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;pageSize&quot;: 10,
        &quot;currentPage&quot;: 1,
        &quot;list&quot;: [{  //寻找同乡
                &quot;id&quot;: null,
                &quot;images&quot;: null,
                &quot;name&quot;: &quot;寻找同乡&quot;,
                &quot;longitude&quot;: null,
                &quot;latitude&quot;: null,
                &quot;distance&quot;: &quot;0&quot;,
                &quot;userCount&quot;: null,
                &quot;allowEntry&quot;: true,
                &quot;roomType&quot;: 7,  //空间类型
                &quot;typeCode&quot;: null,
                &quot;hasGroup&quot;: false,
                &quot;groupCount&quot;: null,
                &quot;showStore&quot;: false,
                &quot;ext&quot;: {
                    &quot;status&quot;: -1  //没有同乡群的情况
                },
                &quot;logo&quot;: null,
                &quot;parent&quot;: null,
                &quot;level&quot;: 0,
                &quot;onlineCount&quot;: null,
                &quot;bossUid&quot;: null,
                &quot;creatorUid&quot;: null
            },
            {
                &quot;id&quot;: &quot;B0FFLIND01&quot;,  //ID
                &quot;images&quot;: [  //图片
                    &quot;http://store.is.autonavi.com/showpic/746c517bb8827721dbdd0a10fffe47a8&quot;,
                    &quot;http://store.is.autonavi.com/showpic/273a9d8df5bf4d6361c0ab7d078e6647&quot;,
                    &quot;http://store.is.autonavi.com/showpic/07de48c96a09c2f34b601036e848e6f9&quot;
                ],
                &quot;name&quot;: &quot;鲜粮卷饼王&quot;,  // 名称
                &quot;distance&quot;: &quot;15&quot;, //距离 米
                &quot;userCount&quot;: 0 //用户数
                &quot;roomType&quot;:1, // 0 普通 1 城市空间 2 商圈
                &quot;hasGroup&quot;:false, //是否有小组
                &quot;groupCount&quot;:0, //小组计数
                &quot;onlineCount&quot;:22,// 在线人数
                &quot;level&quot;:1 ,//空间等级
                &quot;chainStore&quot;: true // 是否连锁空间
                &quot;seq&quot;:&quot;001&quot;,//空间序号
                &quot;ext&quot;: {  //附加信息
                    &quot;id&quot;: &quot;01020200810001&quot;, //id
                    &quot;parentId&quot;: &quot;010&quot;, //父节点
                    &quot;addTime&quot;: &quot;2020-08-11 14:53:42&quot;, //添加时间
                    &quot;num&quot;: 1, //序号
                    &quot;startTime&quot;: 1597136400000, //开始时间
                    &quot;endTime&quot;: 1597136400000, //结束时间
                    &quot;bgUrl&quot;: &quot;/xxxx&quot;, //北京
                    &quot;fontType&quot;: 1, //字体
                    &quot;name&quot;: &quot;POP PARTY 001&quot;, //名字
                    &quot;deleted&quot;: false, //删除状态
                    &quot;remainMillisSeconds&quot;: 7577269 //剩余时间(毫秒）
                },
                 &quot;userList&quot;: [ //用户列表
                    {
                        &quot;uid&quot;: 11478,
                        &quot;name&quot;: &quot;用户skdEn&quot;,
                        &quot;avatar&quot;: &quot;FqsHvZCJcN5XPwHmiuKqia2z6YJD.jpg&quot;,
                        &quot;certStatus&quot;: null,
                        &quot;level&quot;: 1
                    },
                    {
                        &quot;uid&quot;: 11625,
                        &quot;name&quot;: &quot;用户啦啦。？？？😭&quot;,
                        &quot;avatar&quot;: &quot;FvN80juKw2ZOmSXaklpHw17hrcay.jpg&quot;,
                        &quot;certStatus&quot;: 1,
                        &quot;level&quot;: 1
                    }
                ]
            }
        ],
        &quot;end&quot;: false,
        &quot;hotKeywords&quot;: null,
        &quot;address&quot;: null,
        &quot;likeYouCount&quot;: null,
        &quot;empty&quot;: false
    }
}

</code></pre>

<h4 id="101">1.0.1 空间详情</h4>
<h5 id="_12">接口说明</h5>
<p>获取空间详情数据</p>
<h5 id="_13">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/room/get</td>
</tr>
</tbody>
</table>
<h5 id="_14">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">id</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">空间ID</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_15">错误说明</h5>
<h5 id="_16">返回实例</h5>
<pre><code class="json">
{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;id&quot;: &quot;010&quot;,
        &quot;images&quot;: [
            &quot;http://resources.kinstalk.com/k1d59pugbdfp0mc0i6tf.png&quot;
        ],
        &quot;name&quot;: &quot;北京市PARTY 001&quot;,
        &quot;longitude&quot;: null,
        &quot;latitude&quot;: null,
        &quot;distance&quot;: null,
        &quot;userCount&quot;: 8,
        &quot;allowEntry&quot;: false,
        &quot;roomType&quot;: 1,
        &quot;ext&quot;: {
            &quot;id&quot;: &quot;POP01020200827001&quot;,
            &quot;parentId&quot;: &quot;010&quot;,
            &quot;addTime&quot;: &quot;2020-08-27 10:53:59&quot;,
            &quot;num&quot;: 1,
            &quot;startTime&quot;: 1598432400000,
            &quot;endTime&quot;: 1598518800000,
            &quot;bgUrl&quot;: &quot;http://resources.kinstalk.com/jri94gif8o92zkc85189.jpg&quot;,
            &quot;fontType&quot;: 2,
            &quot;name&quot;: &quot;PARTY 001&quot;,
            &quot;deleted&quot;: false,
            &quot;userCount&quot;: null,
            &quot;remainMillisSeconds&quot;: 21960298
        }
    }
}

</code></pre>

<h4 id="11">1.1 签到</h4>
<h5 id="_17">接口说明</h5>
<p>签到</p>
<h5 id="_18">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/room_user/signin</td>
</tr>
</tbody>
</table>
<h5 id="_19">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">id</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">空间ID</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">longtitude</td>
<td align="center">是</td>
<td align="left">double</td>
<td align="left">经度</td>
<td align="left">最多小数点后6位</td>
</tr>
<tr>
<td align="left">latitude</td>
<td align="center">是</td>
<td align="left">double</td>
<td align="left">纬度</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_20">错误说明</h5>
<h5 id="_21">返回实例</h5>
<pre><code class="json">
{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;counter&quot;: {
            &quot;onlineCount&quot;: 0,  //在线人数
            &quot;noteCount&quot;: null, //留言条数
            &quot;signinCount&quot;: 0 //来过人数
        },
        &quot;users&quot;: {  //用户分页
            &quot;pageSize&quot;: 10,  //单页条数 
            &quot;currentPage&quot;: 1, //当前分页
            &quot;list&quot;: [
                {
                    &quot;avatar&quot;: &quot;/x/y/z&quot;,  //头像
                    &quot;uid&quot;: 11443, //用户
                    &quot;likeStatus&quot;: null //喜欢状态
                },
                {
                    &quot;avatar&quot;: &quot;https://wx.qlogo.cn/mmopen/vi_32/DYAIOgq83erjrlX6c0rOZPcmMiax9g9mLHPUdvpBDbjpIZp9icRxoDtAzsYqjfJu3QwgGgibpdC0icxg4Mur3cmWAw/132&quot;,
                    &quot;uid&quot;: 11445,
                    &quot;likeStatus&quot;: null
                },
                {
                    &quot;avatar&quot;: &quot;https://wx.qlogo.cn/mmopen/vi_32/DYAIOgq83errQTDLFchBwAtga1R9kSRvIicUqjtIcczJNSEdSKrt7quEpITyxNo2Yrxaf8CyfFdtVTNI7OtxRag/132&quot;,
                    &quot;uid&quot;: 11447,
                    &quot;likeStatus&quot;: null
                }
            ],
            &quot;end&quot;: true,
            &quot;empty&quot;: false
        }
    }
}
</code></pre>

<h4 id="12">1.2 离开</h4>
<h5 id="_22">接口说明</h5>
<p>签到</p>
<h5 id="_23">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/room_user/leave</td>
</tr>
</tbody>
</table>
<h5 id="_24">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">id</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">空间ID</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_25">错误说明</h5>
<h5 id="_26">返回实例</h5>
<pre><code class="json">
{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {

    }
}
</code></pre>

<h4 id="13">1.3 分页获空间详情数据</h4>
<h5 id="_27">接口说明</h5>
<p>签到</p>
<h5 id="_28">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/room/detail</td>
</tr>
</tbody>
</table>
<h5 id="_29">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">id</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">空间ID</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">type</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">请求类型</td>
<td align="left">1:在线，2:留言，3:来过</td>
</tr>
<tr>
<td align="left">limit</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">单页条数</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">page</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">当前页</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">role</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">角色</td>
<td align="left">5 管理员</td>
</tr>
</tbody>
</table>
<h5 id="_30">错误说明</h5>
<h5 id="_31">返回实例</h5>
<p><strong>喜欢状态说明</strong></p>
<p>0:无  1:喜欢 2:好友</p>
<p><strong>在线类型(1)</strong></p>
<pre><code class="json">
{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;counter&quot;: {
            &quot;onlineCount&quot;: 0,  //在线人数
            &quot;noteCount&quot;: null, //留言数
            &quot;signinCount&quot;: 0 // 签到数
        },
        &quot;unReadCounter&quot;: { //未读数
            &quot;noteCount&quot;: 0, // 新增留言
            &quot;userCount&quot;: 0 //新增签到
        },
        &quot;bossStatus&quot;:-1 , //-1 无  0 待领取 1 已有Boss
        &quot;bossUid&quot;:123,// boss ID
        &quot;users&quot;: {
            &quot;pageSize&quot;: 10,
            &quot;currentPage&quot;: 1,
            &quot;list&quot;: [
                {
                    &quot;avatar&quot;: &quot;https://wx.qlogo.cn/mmopen/vi_32/DYAIOgq83erjrlX6c0rOZPcmMiax9g9mLHPUdvpBDbjpIZp9icRxoDtAzsYqjfJu3QwgGgibpdC0icxg4Mur3cmWAw/132&quot;,
                    &quot;uid&quot;: 11445,
                    &quot;likeStatus&quot;: null
                    &quot;hint&quot;:false, //是否有暗号
                },
                {
                    &quot;avatar&quot;: &quot;https://wx.qlogo.cn/mmopen/vi_32/DYAIOgq83errQTDLFchBwAtga1R9kSRvIicUqjtIcczJNSEdSKrt7quEpITyxNo2Yrxaf8CyfFdtVTNI7OtxRag/132&quot;,
                    &quot;uid&quot;: 11447,
                    &quot;likeStatus&quot;: null
                }
            ],
            &quot;end&quot;: true,
            &quot;empty&quot;: false
        }
    }
}

</code></pre>

<p><strong>留言类型(2)</strong></p>
<pre><code class="json">
{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;counter&quot;: {
            &quot;onlineCount&quot;: 0,
            &quot;noteCount&quot;: null,
            &quot;signinCount&quot;: 0
        },
        &quot;bossStatus&quot;:-1 , //-1 无  0 待领取 1 已有Boss
        &quot;bossUid&quot;:123,// boss ID
        &quot;notes&quot;: {
            &quot;pageSize&quot;: 500,
            &quot;currentPage&quot;: 1,
            &quot;list&quot;: [
                {
                    &quot;avatar&quot;: null,  //头像
                    &quot;uid&quot;: null, //用户
                    &quot;id&quot;: 1, //id
                    &quot;roomId&quot;: &quot;B0FFLIND01&quot;, //房间号
                    &quot;note&quot;: &quot;test&quot;, //内容
                    &quot;color&quot;: &quot;#fffff&quot;,  //颜色
                    &quot;addTime&quot;: 1594196130758, //添加时间
                    &quot;commentsCount&quot;: 0, //计数
                    &quot;auditStatus&quot;:0, //0 待审核 1 审核通过 -1 驳回
                    &quot;thumbCount&quot;: 222, //点赞数
                    &quot;tags&quot;: [ //标签
                        {
                            &quot;content&quot;: &quot;test&quot;,
                            &quot;color&quot;: &quot;default&quot;,
                            &quot;fontSize&quot;: 12,
                            &quot;rotateAngel&quot;: 0.0,
                            &quot;top&quot;: &quot;50%&quot;,
                            &quot;left&quot;: &quot;50%&quot;
                        }
                    ]
                }
            ],
            &quot;end&quot;: true,
            &quot;empty&quot;: false
        }
    }
}

</code></pre>

<p><strong>签到类型(3)</strong></p>
<pre><code class="json">
{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;qrCode&quot;:&quot;http://xxxxxxx&quot;,
        &quot;counter&quot;: {
            &quot;onlineCount&quot;: 0,
            &quot;noteCount&quot;: null,
            &quot;signinCount&quot;: 0
        },
        &quot;bossStatus&quot;:-1 , //-1 无  0 待领取 1 已有Boss
        &quot;bossUid&quot;:123,// boss ID
        &quot;users&quot;: {
            &quot;pageSize&quot;: 10,
            &quot;currentPage&quot;: 1,
            &quot;list&quot;: [
                {
                    &quot;avatar&quot;: &quot;https://wx.qlogo.cn/mmopen/vi_32/DYAIOgq83erjrlX6c0rOZPcmMiax9g9mLHPUdvpBDbjpIZp9icRxoDtAzsYqjfJu3QwgGgibpdC0icxg4Mur3cmWAw/132&quot;,
                    &quot;uid&quot;: 11445,
                    &quot;likeStatus&quot;: null,
                    &quot;times&quot;: 2,  //打卡次数
                    &quot;hint&quot;:false, //是否有暗号
                },
                {
                    &quot;avatar&quot;: &quot;https://wx.qlogo.cn/mmopen/vi_32/DYAIOgq83eqDw87BjTffT03d4T5z9ynn6bia79vWUdDzXbvvCrhbL5oBAYIOTe6iaH790uto7CTkH71oDEpzuMjQ/132&quot;,
                    &quot;uid&quot;: 11446,
                    &quot;likeStatus&quot;: null,
                    &quot;times&quot;: 1
                },
                {
                    &quot;avatar&quot;: &quot;https://wx.qlogo.cn/mmopen/vi_32/DYAIOgq83errQTDLFchBwAtga1R9kSRvIicUqjtIcczJNSEdSKrt7quEpITyxNo2Yrxaf8CyfFdtVTNI7OtxRag/132&quot;,
                    &quot;uid&quot;: 11447,
                    &quot;likeStatus&quot;: null,
                    &quot;times&quot;: 1
                },
                {
                    &quot;avatar&quot;: &quot;/x/y/z&quot;,
                    &quot;uid&quot;: 11443,
                    &quot;likeStatus&quot;: null,
                    &quot;times&quot;: 1
                }
            ],
            &quot;end&quot;: true,
            &quot;empty&quot;: false
        }
    }
}

</code></pre>

<h4 id="14">1.4 用户详细信息</h4>
<h5 id="_32">接口说明</h5>
<p>签到</p>
<h5 id="_33">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/room_user/detail</td>
</tr>
</tbody>
</table>
<h5 id="_34">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">uid</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">用户ID</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">roomId</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">空间ID</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">limit</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">单页条数</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">page</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">当前页</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_35">错误说明</h5>
<h5 id="_36">返回实例</h5>
<pre><code class="json">
{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;name&quot;: &quot;鲜粮卷饼王&quot;,  //名称
        &quot;imAdmin&quot;:true, //我是否是admin ？
        &quot;userRole&quot;:0, //用户角色  0:普通 1:boss 2:员工
        &quot;hasRoom&quot;:true, //是否创建过房间
        &quot;user&quot;: {
            &quot;avatar&quot;: &quot;/x/y/z&quot;,  //头像
            &quot;uid&quot;: 11443, //用户ID
            &quot;likeStatus&quot;: 0  //喜欢状态
        },
        &quot;hint&quot;:false, //是否有暗号
        &quot;rooms&quot;:{
                &quot;pageSize&quot;: 10,
                &quot;total&quot;: null,
                &quot;currentPage&quot;: 1,
                &quot;list&quot;: [
                    {
                        &quot;id&quot;: &quot;XgJMUNdlTaxKbfU&quot;,
                        &quot;images&quot;: [
                            &quot;Fr7_9xj8GEX1_ljebvMPK9-NBQr6.jpg&quot;
                        ],
                        &quot;name&quot;: &quot;民谣在路上&quot;,
                        &quot;longitude&quot;: null,
                        &quot;latitude&quot;: null,
                        &quot;distance&quot;: null,
                        &quot;userCount&quot;: 26,
                        &quot;allowEntry&quot;: false,
                        &quot;roomType&quot;: 6,
                        &quot;typeCode&quot;: null,
                        &quot;hasGroup&quot;: false,
                        &quot;groupCount&quot;: 0,
                        &quot;showStore&quot;: false,
                        &quot;ext&quot;: null,
                        &quot;logo&quot;: null,
                        &quot;parent&quot;: null,
                        &quot;level&quot;: 5,
                        &quot;onlineCount&quot;: 16,
                        &quot;bossUid&quot;: 14853,
                        &quot;creatorUid&quot;: 14853,
                        &quot;chainStore&quot;: false,
                        &quot;seq&quot;: null,
                        &quot;talk&quot;: null
                    }
                ],
                &quot;end&quot;: true,
                &quot;empty&quot;: false,
                &quot;startIndex&quot;: 0,
                &quot;totalPage&quot;: null
            },
        &quot;notes&quot;: { //留言数据
            &quot;pageSize&quot;: 500,
            &quot;currentPage&quot;: 1,
            &quot;list&quot;: [
                {
                    &quot;avatar&quot;: &quot;/x/y/z&quot;,
                    &quot;uid&quot;: 11443,
                    &quot;id&quot;: 2,
                    &quot;roomId&quot;: &quot;B0FFLIND01&quot;,
                    &quot;note&quot;: &quot;test&quot;,
                    &quot;addTime&quot;: 1594198044901,
                    &quot;commentsCount&quot;: 10
                },
                {
                    &quot;avatar&quot;: &quot;/x/y/z&quot;,
                    &quot;uid&quot;: 11443,
                    &quot;id&quot;: 3,
                    &quot;roomId&quot;: &quot;B0FFLIND01&quot;,
                    &quot;note&quot;: &quot;test&quot;,
                    &quot;addTime&quot;: 1594198416707,
                    &quot;commentsCount&quot;: 0
                }
            ],
            &quot;end&quot;: true,
            &quot;empty&quot;: false
        }
    }
}

</code></pre>

<h4 id="141">1.4.1  设置用户角色</h4>
<h5 id="_37">接口说明</h5>
<p>签到</p>
<h5 id="_38">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">post</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/room_user/set_role</td>
</tr>
</tbody>
</table>
<h5 id="_39">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">roomId</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">空间ID</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">uid</td>
<td align="center">是</td>
<td align="left">int[]</td>
<td align="left">用户ID array</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">role</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">用户角色</td>
<td align="left">0:普通用户 1:boss 2:员工</td>
</tr>
<tr>
<td align="left">inviteMoney</td>
<td align="center">否</td>
<td align="left">double</td>
<td align="left">奖励金额</td>
<td align="left">奖励金额</td>
</tr>
</tbody>
</table>
<h5 id="_40">错误说明</h5>
<h5 id="_41">返回实例</h5>
<pre><code class="json">
{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {

    }
}

</code></pre>

<h4 id="142">1.4.2  移除角色</h4>
<h5 id="_42">接口说明</h5>
<p>签到</p>
<h5 id="_43">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">post</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/room_user/remove_role</td>
</tr>
</tbody>
</table>
<h5 id="_44">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">roomId</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">空间ID</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">uid</td>
<td align="center">是</td>
<td align="left">int[]</td>
<td align="left">用户 array</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_45">错误说明</h5>
<h5 id="_46">返回实例</h5>
<pre><code class="json">
{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {

    }
}

</code></pre>

<h4 id="143">1.4.3  添加主页房间</h4>
<h5 id="_47">接口说明</h5>
<p>添加主页房间</p>
<h5 id="_48">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">post</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/room_user/add_room</td>
</tr>
</tbody>
</table>
<h5 id="_49">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">roomList</td>
<td align="center">是</td>
<td align="left">string[]</td>
<td align="left">房间 array</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_50">错误说明</h5>
<h5 id="_51">返回实例</h5>
<pre><code class="json">
{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {

    }
}

</code></pre>

<h4 id="142_1">1.4.2  分页获取主页房间</h4>
<h5 id="_52">接口说明</h5>
<p>添加主页房间</p>
<h5 id="_53">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/room_user/index_room_list</td>
</tr>
</tbody>
</table>
<h5 id="_54">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">page</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">分页</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">limit</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">条数</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">uid</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">用户ID</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_55">错误说明</h5>
<h5 id="_56">返回实例</h5>
<pre><code class="json">
{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;pageSize&quot;: 10,
        &quot;total&quot;: null,
        &quot;currentPage&quot;: 1,
        &quot;list&quot;: [
            {
                &quot;id&quot;: &quot;XgJMUNdlTaxKbfU&quot;,
                &quot;images&quot;: [
                    &quot;Fr7_9xj8GEX1_ljebvMPK9-NBQr6.jpg&quot;
                ],
                &quot;name&quot;: &quot;民谣在路上&quot;,
                &quot;longitude&quot;: null,
                &quot;latitude&quot;: null,
                &quot;distance&quot;: null,
                &quot;userCount&quot;: 26,
                &quot;allowEntry&quot;: false,
                &quot;roomType&quot;: 6,
                &quot;typeCode&quot;: null,
                &quot;hasGroup&quot;: false,
                &quot;groupCount&quot;: 0,
                &quot;showStore&quot;: false,
                &quot;ext&quot;: null,
                &quot;logo&quot;: null,
                &quot;parent&quot;: null,
                &quot;level&quot;: 5,
                &quot;onlineCount&quot;: 16,
                &quot;bossUid&quot;: 14853,
                &quot;creatorUid&quot;: 14853,
                &quot;chainStore&quot;: false,
                &quot;seq&quot;: null,
                &quot;talk&quot;: null
            }
        ],
        &quot;end&quot;: true,
        &quot;empty&quot;: false,
        &quot;startIndex&quot;: 0,
        &quot;totalPage&quot;: null
    }
}
</code></pre>

<h4 id="143_1">1.4.3  删除主页</h4>
<h5 id="_57">接口说明</h5>
<p>添加主页房间</p>
<h5 id="_58">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">post</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/room_user/del_room</td>
</tr>
</tbody>
</table>
<h5 id="_59">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">id</td>
<td align="center">是</td>
<td align="left">stirng[]</td>
<td align="left">房间ID</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_60">错误说明</h5>
<h5 id="_61">返回实例</h5>
<pre><code class="json">
{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {

    }
}
</code></pre>

<h4 id="144">1.4.4  我创建的空间</h4>
<h5 id="_62">接口说明</h5>
<p>我创建的空间</p>
<h5 id="_63">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/my/room_list</td>
</tr>
</tbody>
</table>
<h5 id="_64">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">page</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">分页</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">limit</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">条数</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_65">错误说明</h5>
<h5 id="_66">返回实例</h5>
<pre><code class="json">
{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;pageSize&quot;: 10,
        &quot;total&quot;: null,
        &quot;currentPage&quot;: 1,
        &quot;list&quot;: [
            {
                &quot;id&quot;: &quot;JzYaVMAgXAEJiDp&quot;,
                &quot;images&quot;: [
                    &quot;/b&quot;
                ],
                &quot;name&quot;: &quot;test&quot;,
                &quot;longitude&quot;: null,
                &quot;latitude&quot;: null,
                &quot;distance&quot;: null,
                &quot;userCount&quot;: null,
                &quot;allowEntry&quot;: true,
                &quot;roomType&quot;: 6,
                &quot;typeCode&quot;: null,
                &quot;hasGroup&quot;: false,
                &quot;groupCount&quot;: 0,
                &quot;showStore&quot;: false,
                &quot;ext&quot;: null,
                &quot;logo&quot;: null,
                &quot;parent&quot;: null,
                &quot;level&quot;: 0,
                &quot;onlineCount&quot;: null,
                &quot;bossUid&quot;: 11632,
                &quot;creatorUid&quot;: 11632,
                &quot;chainStore&quot;: false,
                &quot;seq&quot;: null,
                &quot;talk&quot;: null,
                &quot;checked&quot;: true
            }
        ],
        &quot;end&quot;: true,
        &quot;empty&quot;: false,
        &quot;startIndex&quot;: 0,
        &quot;totalPage&quot;: null
    }
}


</code></pre>

<h4 id="15">1.5 弹幕</h4>
<h5 id="_67">接口说明</h5>
<p>签到</p>
<h5 id="_68">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">post</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/danmuku/send</td>
</tr>
</tbody>
</table>
<h5 id="_69">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">roomId</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">空间ID</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">content</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">内容</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">danmuType</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">弹幕类型</td>
<td align="left">0 普通 1广告</td>
</tr>
<tr>
<td align="left">multiRoom</td>
<td align="center">否</td>
<td align="left">boolean</td>
<td align="left">是否连锁空间同步</td>
<td align="left">默认否</td>
</tr>
</tbody>
</table>
<h5 id="_70">错误说明</h5>
<h5 id="_71">返回实例</h5>
<pre><code class="json">
{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {

    }
}

</code></pre>

<h4 id="16">1.6 弹幕列表</h4>
<h5 id="_72">接口说明</h5>
<p>签到</p>
<h5 id="_73">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/danmuku/list</td>
</tr>
</tbody>
</table>
<h5 id="_74">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">roomId</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">空间ID</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_75">错误说明</h5>
<h5 id="_76">返回实例</h5>
<pre><code class="json">
{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;limit&quot;: 1000,
        &quot;last&quot;: 1596105412381,
        &quot;list&quot;: [
            {
                &quot;id&quot;: 1,
                &quot;roomId&quot;: &quot;B0FFJY9UP5&quot;,
                &quot;uid&quot;: 11635,
                &quot;content&quot;: &quot;咯弄&quot;,
                &quot;addTime&quot;: 1596105412381,
                &quot;danmuType&quot;:1, //1 广告 0 普通
                &quot;delete&quot;: false,
                &quot;userRole&quot;:0, //用户角色  0:普通 1:boss 2:员工
            }
        ],
        &quot;end&quot;: true
    }
}

</code></pre>

<h4 id="16_1">1.6 广告弹幕列表</h4>
<h5 id="_77">接口说明</h5>
<p>签到</p>
<h5 id="_78">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/danmuku/ad/list</td>
</tr>
</tbody>
</table>
<h5 id="_79">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">roomId</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">空间ID</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_80">错误说明</h5>
<h5 id="_81">返回实例</h5>
<pre><code class="json">
{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: [
        {
            &quot;id&quot;: 1,
            &quot;roomId&quot;: &quot;B0FFJY9UP5&quot;,
            &quot;uid&quot;: 11635,
            &quot;content&quot;: &quot;咯弄&quot;,
            &quot;addTime&quot;: 1596105412381,
            &quot;danmuType&quot;:1, //1 广告 0 普通
            &quot;delete&quot;: false,
            &quot;userRole&quot;:0, //用户角色  0:普通 1:boss 2:员工
        }
    ]
}

</code></pre>

<h4 id="17">1.7 更新弹幕</h4>
<h5 id="_82">接口说明</h5>
<p>签到</p>
<h5 id="_83">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">post</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/danmuku/ad/update</td>
</tr>
</tbody>
</table>
<h5 id="_84">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">id</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">弹幕ID</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">content</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">弹幕内容</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_85">错误说明</h5>
<h5 id="_86">返回实例</h5>
<pre><code class="json">
{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
    }
}

</code></pre>

<h4 id="18">1.8 删除弹幕</h4>
<h5 id="_87">接口说明</h5>
<p>签到</p>
<h5 id="_88">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">post</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/danmuku/ad/del</td>
</tr>
</tbody>
</table>
<h5 id="_89">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">id</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">弹幕ID</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_90">错误说明</h5>
<h5 id="_91">返回实例</h5>
<pre><code class="json">
{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
    }
}

</code></pre>

<h4 id="17-code">1.7 获取邀请CODE（测试用）</h4>
<h5 id="_92">接口说明</h5>
<p>测试code 获取</p>
<h5 id="_93">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/room/random_code</td>
</tr>
</tbody>
</table>
<h5 id="_94">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">id</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">房间号</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">inviteUser</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">邀请人ID</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_95">错误说明</h5>
<h5 id="_96">返回实例</h5>
<pre><code class="json">
    {
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;code&quot;: &quot;^AQENXjcUU&quot;
    }


</code></pre>

<h4 id="18-code">1.8 根据Code 获取房间信息</h4>
<h5 id="_97">接口说明</h5>
<p>签到</p>
<h5 id="_98">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">post</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/room/code2room</td>
</tr>
</tbody>
</table>
<h5 id="_99">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">code</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">邀请码</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_100">错误说明</h5>
<h5 id="_101">返回实例</h5>
<pre><code class="json">
{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;id&quot;: &quot;B0FFG72WB4&quot;,
        &quot;name&quot;: &quot;秀域科技健康(望京街店)&quot;,
        &quot;userList&quot;: [  //用户列表
            {
                &quot;avatar&quot;: &quot;FqTd6VEjTbp4UjkquMmaZF_d9Zzj.jpg&quot;,
                &quot;uid&quot;: 11491,
                &quot;remark&quot;: null,
                &quot;userRole&quot;: 0,
                &quot;likeStatus&quot;: 0
            }
        ]
    }
}

</code></pre>

<h4 id="19">1.9 收藏空间</h4>
<h5 id="_102">接口说明</h5>
<p>收藏空间</p>
<h5 id="_103">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">post</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/room/favorite/add</td>
</tr>
</tbody>
</table>
<h5 id="_104">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">roomId</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">空间ID</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_105">错误说明</h5>
<h5 id="_106">返回实例</h5>
<pre><code class="json">
{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {

    }
}

</code></pre>

<h4 id="110">1.10 取消收藏空间</h4>
<h5 id="_107">接口说明</h5>
<p>取消收藏</p>
<h5 id="_108">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">post</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/room/favorite/remove</td>
</tr>
</tbody>
</table>
<h5 id="_109">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">roomId</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">空间ID</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_110">错误说明</h5>
<h5 id="_111">返回实例</h5>
<pre><code class="json">
{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {

    }
}

</code></pre>

<h4 id="111">1.11 设置家乡</h4>
<h5 id="_112">接口说明</h5>
<p>设置家乡</p>
<h5 id="_113">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">post</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/room/set_home</td>
</tr>
</tbody>
</table>
<h5 id="_114">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">code</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">家乡省份code</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">longtitude</td>
<td align="center">是</td>
<td align="left">double</td>
<td align="left">经度</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">latitude</td>
<td align="center">是</td>
<td align="left">double</td>
<td align="left">维度</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_115">错误说明</h5>
<h5 id="_116">返回实例</h5>
<pre><code class="json">
{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;name&quot;: &quot;山东人在110000&quot;,
        &quot;groupCount&quot;: 0,
        &quot;hasGroup&quot;: false,
        &quot;bossStatus&quot;: -1,
        &quot;roomType&quot;: 7,
        &quot;bossUid&quot;: null,
        &quot;showStore&quot;: false,
        &quot;storeId&quot;: null,
        &quot;level&quot;: null,
        &quot;favorite&quot;: false,
        &quot;images&quot;: [
            &quot;Fjt3oB_msFfsELeYvmb546PQu-zs.jpg&quot;
        ],
        &quot;roomId&quot;: &quot;370000in110000&quot;,
        &quot;roomNum&quot;: 256,
        &quot;inviteUrl&quot;: &quot;http://smileback.xiaogang.org.cn/invite/370000in110000/11632&quot;,
        &quot;creatorUid&quot;: null,
        &quot;counter&quot;: {
            &quot;onlineCount&quot;: 0,
            &quot;noteCount&quot;: 0,
            &quot;signinCount&quot;: 0
        },
        &quot;users&quot;: {
            &quot;pageSize&quot;: 500,
            &quot;total&quot;: null,
            &quot;currentPage&quot;: 1,
            &quot;list&quot;: null,
            &quot;end&quot;: true,
            &quot;empty&quot;: true,
            &quot;startIndex&quot;: 0,
            &quot;totalPage&quot;: null
        },
        &quot;firstTime&quot;: false
    }
}
</code></pre>

<h4 id="112">1.12 陪伴灯</h4>
<h5 id="_117">接口说明</h5>
<p>设置家乡</p>
<h5 id="_118">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">post</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/room_user/light</td>
</tr>
</tbody>
</table>
<h5 id="_119">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">roomId</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">房间号</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">light</td>
<td align="center">是</td>
<td align="left">boolean</td>
<td align="left">灯的状态</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_120">错误说明</h5>
<h5 id="_121">返回实例</h5>
<pre><code class="json">
{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;lightTime&quot;:123434, //点灯开始时间，毫秒值
        &quot;light&quot;:true, //灯状态
    }
}
</code></pre>

<h4 id="113">1.13 首页提醒</h4>
<h5 id="_122">接口说明</h5>
<p>首页提醒</p>
<h5 id="_123">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">post</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/room/remind_list</td>
</tr>
</tbody>
</table>
<h5 id="_124">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">page</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">分页</td>
<td align="left">默认值1</td>
</tr>
<tr>
<td align="left">limit</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">分页条数</td>
<td align="left">默认值10</td>
</tr>
<tr>
<td align="left">latitude</td>
<td align="center">是</td>
<td align="left">double</td>
<td align="left"></td>
<td align="left">经度</td>
</tr>
<tr>
<td align="left">longtitude</td>
<td align="center">是</td>
<td align="left">double</td>
<td align="left"></td>
<td align="left">维度</td>
</tr>
</tbody>
</table>
<h5 id="_125">错误说明</h5>
<h5 id="_126">返回实例</h5>
<pre><code class="json">
{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;pageSize&quot;: 10,
        &quot;total&quot;: 2,
        &quot;currentPage&quot;: 1,
        &quot;list&quot;: [
            {
                &quot;id&quot;: &quot;AbekYmJDejcqGHV&quot;,
                &quot;images&quot;: [
                    &quot;FvKvc62BV_qHf0Zx20SnRkXue8WC.jpg&quot;
                ],
                &quot;roomType&quot;: 6,  //空间类型
                &quot;name&quot;: &quot;奇幻电影&quot;,
                &quot;userCount&quot;: 0, //在线人数
                &quot;noteCount&quot;: 0 //未读留言
            },
            {
                &quot;id&quot;: &quot;B0GRBMF2XV&quot;,
                &quot;images&quot;: [
                    &quot;http://resources.kinstalk.com/qap1kqa5ez2ohv82s8gb.jpg&quot;
                ],
                &quot;roomType&quot;: 0,
                &quot;name&quot;: &quot;庭珍牛肉粉&quot;,
                &quot;userCount&quot;: 0,
                &quot;noteCount&quot;: 0
            }
        ],
        &quot;end&quot;: true,
        &quot;empty&quot;: false,
        &quot;startIndex&quot;: 0,
        &quot;totalPage&quot;: 1
    }
}

</code></pre>

<h4 id="114">1.14 连锁空间列表</h4>
<h5 id="_127">接口说明</h5>
<p>连锁空间列表，只有baoss 有权限获取</p>
<h5 id="_128">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/room/chain_list</td>
</tr>
</tbody>
</table>
<h5 id="_129">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">page</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">分页</td>
<td align="left">默认值1</td>
</tr>
<tr>
<td align="left">limit</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">分页条数</td>
<td align="left">默认值10</td>
</tr>
<tr>
<td align="left">roomId</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">空间ID</td>
<td align="left"></td>
</tr>
<tr>
<td align="left"></td>
<td align="center"></td>
<td align="left"></td>
<td align="left"></td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_130">错误说明</h5>
<h5 id="_131">返回实例</h5>
<pre><code class="json">
{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;pageSize&quot;: 10,
        &quot;total&quot;: null,
        &quot;currentPage&quot;: 1,
        &quot;list&quot;: [
            {
                &quot;id&quot;: &quot;B0FFI0M9RJ&quot;,
                &quot;images&quot;: [
                    &quot;http://resources.kinstalk.com/usslqxrmlvrlzu0ujgs9.jpg&quot;
                ],
                &quot;name&quot;: &quot;晓寿司(望京soho店)&quot;,
                &quot;onlineCount&quot;: 6,
                &quot;userCount&quot;: 55,
                &quot;level&quot;: 0,
                &quot;roomType&quot;: 0,
                &quot;showStore&quot;: null,
                &quot;chainName&quot;: &quot;晓寿司(望京soho店)001&quot;,
                &quot;bossUid&quot;: 12762,
                &quot;creatorUid&quot;: null
            },
            {
                &quot;id&quot;: &quot;utTlgufNSVCrPTX&quot;,
                &quot;images&quot;: [
                    &quot;http://resources.kinstalk.com/usslqxrmlvrlzu0ujgs9.jpg&quot;
                ],
                &quot;name&quot;: &quot;晓寿司(望京soho店)&quot;,
                &quot;onlineCount&quot;: 0,
                &quot;userCount&quot;: 1,
                &quot;level&quot;: 0,
                &quot;roomType&quot;: 0,
                &quot;showStore&quot;: false,
                &quot;chainName&quot;: &quot;晓寿司(望京soho店)001&quot;,
                &quot;bossUid&quot;: 12762,
                &quot;creatorUid&quot;: null
            }
        ],
        &quot;end&quot;: true,
        &quot;empty&quot;: false,
        &quot;startIndex&quot;: 0,
        &quot;totalPage&quot;: null
    }
}

</code></pre>

<h4 id="115">1.15 创建空间</h4>
<h5 id="_132">接口说明</h5>
<p>创建空间</p>
<h5 id="_133">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">post</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/room/create</td>
</tr>
</tbody>
</table>
<h5 id="_134">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">coverUrl</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">封面</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">name</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">空间名</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">privacy</td>
<td align="center">是</td>
<td align="left">boolean</td>
<td align="left">是否隐私空间</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">syncIndex</td>
<td align="center">否</td>
<td align="left">boolean</td>
<td align="left">是否同步首页</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_135">错误说明</h5>
<h5 id="_136">返回实例</h5>
<pre><code class="json">
{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {

    }
}

</code></pre></div>
            </div>
        </div>

        <footer class="col-md-12">
            <hr>
            <p>Documentation built with <a href="https://www.mkdocs.org/">MkDocs</a>.</p>
        </footer>
        <script>
            var base_url = "..",
                shortcuts = {"help": 191, "next": 78, "previous": 80, "search": 83};
        </script>
        <script src="../js/base.js" defer></script>
        <script src="../search/main.js" defer></script>

        <div class="modal" id="mkdocs_search_modal" tabindex="-1" role="dialog" aria-labelledby="searchModalLabel" aria-hidden="true">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title" id="searchModalLabel">Search</h4>
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
            </div>
            <div class="modal-body">
                <p>
                    From here you can search these documents. Enter
                    your search terms below.
                </p>
                <form>
                    <div class="form-group">
                        <input type="search" class="form-control" placeholder="Search..." id="mkdocs-search-query" title="Type search term here">
                    </div>
                </form>
                <div id="mkdocs-search-results"></div>
            </div>
            <div class="modal-footer">
            </div>
        </div>
    </div>
</div><div class="modal" id="mkdocs_keyboard_modal" tabindex="-1" role="dialog" aria-labelledby="keyboardModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title" id="keyboardModalLabel">Keyboard Shortcuts</h4>
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
            </div>
            <div class="modal-body">
              <table class="table">
                <thead>
                  <tr>
                    <th style="width: 20%;">Keys</th>
                    <th>Action</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td class="help shortcut"><kbd>?</kbd></td>
                    <td>Open this help</td>
                  </tr>
                  <tr>
                    <td class="next shortcut"><kbd>n</kbd></td>
                    <td>Next page</td>
                  </tr>
                  <tr>
                    <td class="prev shortcut"><kbd>p</kbd></td>
                    <td>Previous page</td>
                  </tr>
                  <tr>
                    <td class="search shortcut"><kbd>s</kbd></td>
                    <td>Search</td>
                  </tr>
                </tbody>
              </table>
            </div>
            <div class="modal-footer">
            </div>
        </div>
    </div>
</div>

    </body>
</html>
